
srcs = $(wildcard *.c) $(wildcard src/*.c)

objects = $(patsubst %.c,%.o,$(srcs))

all:
	@for name in $(srcs); \
	do \
	echo $$name; \
	done
	@for object in $(objects); \
		do \
		echo $$object;\
	done

opttest:
	gcc -o getopt getopt.c
